﻿using System;
using System.Collections.Generic;
using System.Linq;
using System.Text;

namespace Green.AgileMapper
{
   public interface IRuntimeMappingRule
   { 
       /// <summary>
       /// 根据 To得到From
       /// </summary>
       /// <param name="from"></param>
       /// <param name="to"></param>
       void WarpFrom(object from, object to);
       /// <summary>
       /// 根据From得到To
       /// </summary>
       /// <param name="from"></param>
       /// <param name="to"></param>
       void WarpTo(object from, object to);
    }
}
